package com.ruoyix.weblog.domain.bo;

import com.ruoyix.common.core.validate.AddGroup;
import com.ruoyix.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import java.util.Date;

import com.ruoyix.common.core.domain.BaseEntity;

/**
 * 笔记业务对象 blog_note
 *
 * @author ruoyi
 * @date 2025-02-17
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class BlogNoteBo extends BaseEntity {

    /**
     * id
     */
    @NotNull(message = "id不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 笔记标题
     */
    @NotBlank(message = "笔记标题不能为空", groups = { AddGroup.class, EditGroup.class })
    private String articleTitle;

    /**
     * 笔记内容
     */
    private String articleContent;

    /**
     * 是否可见[0:否，1:是]
     */
    private Integer viewStatus;

    /**
     * 备注
     */
    private String remark;

    /**
     * 笔记类型
     */
    private String noteType;

}
